Skip to content

Conversation

@kathrynmurie
Copy link
Contributor

No description provided.

panel_targets = 0
panels.append(panel["panel_name"])
for reaction in panel["reactions"]:
panel_targets += len(reaction["panel_targets"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to protect against the case of having targets shared across reactions, would build a set() of target_ids and then take a length of the set

@nickjhathaway nickjhathaway merged commit bc37baf into develop Nov 24, 2025
2 checks passed
@nickjhathaway nickjhathaway deleted the feature/count_targets_per_panel branch November 24, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants